import request from '@/utils/request';

// 新建底部信息
export function addPrivacy(data) {
  return request({
    url: '/message/privacyEdit',
    method: 'post',
    data: data
  })
}

// 获取底部信息
export function getPrivacy() {
  return request({
    url: '/message/getPrivacy',
    method: 'get'
  })
}

//更新底部信息
export function updatePrivacy(data) {
    return request({
        url: '/message/privacyEdit',
        method: 'post',
        data: data
      })
}                                                                                         
